package com.macro.mall.service;

import com.macro.mall.common.api.CommonResult;
import com.macro.mall.dto.OpenDoorRecord;
import com.macro.mall.dto.OpenDoorRecordRequest;

import java.util.List;

/**
 * @author HuangZiy
 * @version 8.0
 * @date 2021/4/26 22:43
 */
public interface OpenDoorRecordService {
    CommonResult<List<OpenDoorRecord>> getOpenDoorRecord(OpenDoorRecordRequest request);

    CommonResult<String> addOpenDoorRecord(OpenDoorRecordRequest request);

    CommonResult<String> updateOpenDoorRecord(OpenDoorRecordRequest request);

    CommonResult<String> deleteOpenDoorRecord(Integer id);
}
